import Mock from 'mockjs';

export default {
  // 获取站点配置
  'GET /api/admin/settings': Mock.mock({
    success: true,
    data: {
      basic: {
        title: '@ctitle',
        icp: '@name',
      },
      wechat: {
        appid: '@word(30)',
        secret: '@word(128)',
        token: '@word(64)',
        aes_key: '@word(128)',
      },
    },
  }),
  // 保存站点配置
  'POST /api/admin/settings': {
    success: true,
  },
};
